<@user.user_html>
    
    <div class="clear"></div>
	

    <div class="swarp">
    	<#-- 嵌入导航-->
		<#include "/WEB-INF/content/include/user/app.ftl">
        <div class="srightwarp">
        	<div class="xwarp" style=" margin:0px; width:750px; overflow:hidden;">
            	<div class="xtitle">
                	<ul>
                    	<li><a href="${base}/user/vote/">热门投票</a></li>
                        <li><a href="${base}/user/vote/index!add">发起投票</a></li>
                        <li class="check"><a href="${base}/user/vote/index!my">我的投票</a></li>
                        <li class="spec"><a href="${base}/user/vote/index!friends">关注人的投票</a></li>
                    </ul>
                    <div class="clear"></div>
                </div>
                <div class="xbody sbody" style=" width:748px; margin:0px; padding:20px 0px;">
                	<div class="menu">
                    	<ul>
                        	<li ><a href="${base}/user/vote/">全部投票</a><span></span></li>
                            <li ><a href="${base}/user/vote/index!my">我发起的投票</a><span></span></li>
                            <li class="check"><a href="${base}/user/vote/index!join">我参与的投票</a><span></span></li>
                        </ul>
                    </div>
                    <div class="clear"></div>
                	<div class="xbody sbody" style=" width:748px; margin:0px; padding:20px 0px;" id="topic_list">
	                	<#if votePage??&&votePage.result??>
	            		<#list votePage.result as vote>
	            		<div class="secretBox">
	                    	<div class="secretLeft">
	                        	<div><#--我参与:--></div>
	                            <h3><a href="${base}/user/vote/index!show?id=${(vote.id?c)!}">${(vote.title)!} </a></h3>
	                            <div><em>发起： ${(vote.startTime?string("yyyy-MM-dd"))!}</em>      <em>评论：${(vote.totalCount)!}</em></div>
	                        </div>
	                        <div class="secretRight">
	                        	<div class="secretImg">
	                            	<img src="${base}/images/temp/secretImg.gif" />
	                                <span>${(vote.space.user.name)!}</span>
	                                <em>MP</em>
	                            </div>
	                            <div class="secretBtn">
	                            	<input name="" type="button" class="sm" value="<#if vote.status==1>已结束</#if><#if vote.status==0>正在进行</#if>" style="color:#8f8f8f;"/>
	                            </div>
	                        </div>
	                        <div class="clear"></div>
	                    </div>
	                    </#list>
	                    </#if>
						<@user.pagination_user div="topic_list" />	
                  		<div class="clear"></div>
            		</div>

            	</div>
            </div>
        </div>
        <div class="clear"></div>
    </div>
</@user.user_html>


